V1 le 19/04/23

https://mele.cn/PCHD28/131-en.html

===================================================================================
ACCES AU BIOS / BOOT OPTIONS
===================================================================================
F7 boot options
DEL BIOS

===================================================================================
INSTALATION DE L'IMAGE Windows 11 :
===================================================================================
1. Prepare a USB flash disk with NTFS file system.
2. Decompression the downloaded Win1X_Pro_XXX.zip.
3. Copy all the files in Win1X_Pro_XXX to the root the direction of your USB flash disk.
4. Plug the USB flash disk into Mini PC, and connect a keyboard.
5. Press the power button and press F7 continuously to enter into boot menu. Select your USB flash disk to re-install Windows OS.
6. Mini PC will shutdown while the install process finished. Plug out the USB flash disk, then press power button to power on your Mini PC.

This installation method will completely delete personal files and APPs, please back up important files.

Pour installer sur le disque NVME de 2To :
  éditer Scripts/Startnet.ini sur la clef USB d’installation
    remplacer :
        ;eMMC or SSD or Disk
        TargetDisk = eMMC
    par
        ;eMMC or SSD or Disk
        TargetDisk = SSD

===================================================================================
CONFIGURATION Windows 11 :
===================================================================================
Utilisateur W11
   Pollux / 92160M31
   Admin / 92160M31
   réponse au question : Antony pour les villes et Antony pour l’école

W11 le 12/04/23
   Paramètres / Système / Bureau a distance : Activation du bureau a distance
   Réseau et Internet / Ethernet : Réseau privé
   Paramètres / Compte / Options de connexion / Verrouillage dynamique : désactivé
   Paramètres / Compte / Options de connexion / Demander une reconnexion après votre absence: Jamais
   Windows + X / Windows Update / Options Avancées / Heures d'activité / Manuellement / début 17h / fin 8h ( pour ne pas être déranger par un reboot suite MAJ windows )
   réduction de la partition Windows a 500Go  ( touche Windows + X / Gestion des disques)
   MAJ Windows
   création d'une partition D avec le reste 1400Go

AUTOLOGIN :
J'essaye d'activer le login sans password mais l'option n'est pas dispo
    La valuer par defaut de DevicePasswordLessBuildVersion est de 2 sur le PC MELE Windows 11

    https://answers.microsoft.com/en-us/windows/forum/all/auto-sign-in-missing-from-netplwiz/1c06918b-04e0-4b2f-ab67-8b5bd7eee89b
    Click your Start Button, type regedit and hit Enter to open the Registry Editor
    Click View and make sure 'Address Bar' is turned on
    Paste this into the Address Bar at the top and hit Enter
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device
    Double click DevicePasswordLessBuildVersion
    Set its Value Data to 0 and click OK
    Restart (not shut down) your PC
    Then, click your Start Button, then just type netplwiz and press Enter
    The option to turn off the password requirement should now be available to you.

Puis https://answers.microsoft.com/en-us/windows/forum/all/how-to-login-automatically-to-windows-11/c0e9301e-392e-445a-a5cb-f44d00289715
    Press Windows + R and select Run, type netplwiz command.
    Select Pollux account
    In User Accounts window, on Users tab, uncheck the Users must enter a user name and password to use this computer option.
    Click Apply.
    Type in your user account password and confirm it. Make sure you type in correct user account password here.
    Click OK and then restart your system to check if you can login automatically.
    If you followed above steps exactly as they're mentioned, you should be able to login automatically at startup on your Windows
    
    This automatic login will be valid until you change your user account password.
    If you changed your account password, you need to follow the steps mentioned above again to enable automatic login.

===================================================================================
CONFIGURATION SOFT/DRIVER :
===================================================================================
   Installation de Chrome et Acrobat Reader
   Installation ASCOM : AscomPlatform661.3673
   Installation EQMOD : EQASCOM_V200w_Setup
   Installation SharpCap: SharpCapInstall-4.0.9545.0-64bit
        + SharpCap / Fichier / Paramètres ShapCap / Options d'enregistrements : SER et TIF
        + SharpCap / Fichier / Paramètres ShapCap / Noms de fichier : D:\WINDOWS\SharpCap Captures
        + SharpCap / Fichier / Paramètres ShapCap / Résolution de plaques : ASTAP
   Installation caméra QHY : QHYCCD_Win_AllInOne.22.08.17.00 / Uniquement Drivers
   Installation caméra ZWO : ZWO_ASI_Cameras_driver_Setup_V3.21
   REBOOT
   Lancement de sharpcap et connexion ZWO ASI 224 du club avec Turbo USB 100 / Expo 2ms capture a 65fps sur D:\WINDOWS\SharpCap Captures
   Lancement de sharpcap et connexion QHY 462 du club avec Trafic USB 0 / Expo 2ms capture a 135fps sur D:\WINDOWS\SharpCap Captures
   Installation Astap : astap_setup + d50_star_database  (v2023.04.09)
   Test ASTAP dans SharpCap OK
   Utiliser ASTAP pour lire les fichier FIT et FITS
    récupérer une image FIT et FITS, essayer de l'ouvrir et sélectionner l'application ASTAP. Puis" toujours" pour valider l'association
   Installation Stelarium : stellarium-23.1-qt5-win64
   Installation Nina : NINASetupBundle_2.2.0.9001
         + SkyAtlasImageRepository dans Documents /N.I.N.A/SkyAtlasImageRepository
              NINA / Options / Repert image du sky atlas: C:\Users\Pollux\Documents\N.I.N.A\SkyAtlasImageRepository
         + FramingAssistantCache dans %localappdata%/NINA/FramingAssistantCache
              NINA / Options / Repert cache Sky survey : C:\Users\Pollux\AppData\Local\NINA\FramingAssistantCache
              NINA / Cadrage / Source de l'image / Offline Sky Map
              NINA / Options / Acquisition / Repertoire image : D:\WINDOWS\N.I.N.A Captures\
   Lancement de NINA et connexion ZWO ASI 224 du club : OK
   Lancement de NINA et connexion QHY 462 du club : OK
   Installation PHD2 : phd2-2.6.11-installer
   NOMACHINE : nomachine_8.4.2_10_x64
       pour le login PB clavier avec les chiffres sur ANDROID : Être en clavier français et rentrer les chiffres avec le clavier dédié au chiffres "?123" a gauche
                                                    Si on tape les chiffres sur le clavier général on récupère &é"'(-è_çà au lieu de 1234567890
   TEST avec EQ5 du club et EQMOD
        Le câble Pierro Astro est bien reconnu,
       Pour voir le port COM utilisé : gestionnaire de périphérique / Ports ( COM et LPT ) / USB Serial Port (COM3)
       Menu Windows / Toutes les applications / EQMOD / Setup EQASCOM : Timeout 1000 / Retender 1 / Baud 9600 / Port COM3
    REBOOT
    EQASCOM_Run : C'est OK
    ShapCap / Fichier / Paramétres ShapCap / Matériel / Monter / Sélectionnez le matériel : EQMOD ASCOM HEQ5/6 : OK
    NINA / Équipement / Télescope / Menu déroulant / EQMOD ASCOM HEQ5/6 + CONNECT : OK

===================================================================================
WIFI / HOTSPOT :
===================================================================================
  Pour forcer le 2.4Ghz : Paramètres / System / Informations système / Gestionnaire de périphériques
    Gestionnaires de périphériques / Cartes Reseau Realtek 8852BE Wireless LAN WIFI ... / Propriétés / Avancé / 5G Wireless Mode : Disabled
    Reboot

  https://mypublicwifi.com/publicwifi/fr/index.html
  Lancement de l'appli
    Language : French
    HotSpot Wifi
    Acces au reseau : Pas de partage internet
    Nom du reseau : CAA-MINIPC
    Clé WIFI : 92160M31
    Administration :
        Préférer 'WIFI Direct' dans Windows 10/11
        Lancer MyPublicWifi au démarrage de Windows
        Désactiver la gestion d'alimentation de adaptateur
    Démarrer vote Hotspot
    L'adresse du minipc doit être 192.168.5.1

L'appli ne démarre pas seul, une fenêtre de validation apparaît automatiquement en mode autologin avec un ecran connecté.
  "Contrôle de compte utilisateur : Voulez vous autoriser cette application provenant d'un éditeur inconnu a apporter des modification a votre ordinateur ?"
    => Recherche/ UAC :  par défaut le 3ieme en partant du bas
        => je bascule sur le plus faible : ne jamais m'avertir quand ...
    => la fenêtre MyPublicWifi apparaît et disparaît durant l'autologin et le réseau MyPublicWifi est O

Il y a un service "MyPubliccWifi Service"
Gestion : services.msc

L'appli apparaît aussi dans Paramètres / Applications / Démarrage

REBOOT sans clavier, ni souris, ni cable reseau et sans écran connecté

Smartphone :
    OK en 2mn le réseau est dispo
    connection sur le réseau MyPublicWiFi
    Client bureau a distance Microsoft :
        KO si detection automatique ou utilisation du nom CAA-MINIPC
        OK avec IP 192.168.5.1 et utilisateur Pollux
    NOMACHINE: OK detection automatique

Pour visualiser l’état du hotspot et voir le nombre d’appareil connecté :
    Barre des taches de windows en bas a droite / Afficher les icônes cachées ( flèche vers le haut ) / icône petite antennes

===================================================================================
SECURITE SUITE A L'INSTALATION DE STELLARMATE
===================================================================================
Apres l'install de StellarMate X, la partition UEFI du disk UBINTU est visible sour E:
Supression  de son  affichage :
	cmd
	diskpart
DISKPART> list vol

DISKPART> list vol

  N° volume   Ltr  Nom          Fs     Type        Taille   Statut     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     C                NTFS   Partition    517 G   Sain       Démarrag
  Volume 1     D   DATA         NTFS   Partition   1388 G   Sain
  Volume 2         SYSTEM       FAT32  Partition    100 M   Sain       Système
  Volume 3         Recovery     NTFS   Partition    900 M   Sain       Masqué
  Volume 4     E   SYSTEM EFI   FAT32  Partition    512 M   Sain

DISKPART> select vol 4

Le volume 4 est le volume sélectionné.

DISKPART> list  vol

  N° volume   Ltr  Nom          Fs     Type        Taille   Statut     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     C                NTFS   Partition    517 G   Sain       Démarrag
  Volume 1     D   DATA         NTFS   Partition   1388 G   Sain
  Volume 2         SYSTEM       FAT32  Partition    100 M   Sain       Système
  Volume 3         Recovery     NTFS   Partition    900 M   Sain       Masqué
* Volume 4     E   SYSTEM EFI   FAT32  Partition    512 M   Sain

DISKPART> remove letter E

DiskPart a correctement supprimé la lettre de lecteur ou le point de montage.

DISKPART> list vol

  N° volume   Ltr  Nom          Fs     Type        Taille   Statut     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     C                NTFS   Partition    517 G   Sain       Démarrag
  Volume 1     D   DATA         NTFS   Partition   1388 G   Sain
  Volume 2         SYSTEM       FAT32  Partition    100 M   Sain       Système
  Volume 3         Recovery     NTFS   Partition    900 M   Sain       Masqué
* Volume 4         SYSTEM EFI   FAT32  Partition    512 M   Sain

DISKPART> exit

E: a disparu  de l'explorateur de fichier

===================================================================================
BOOTER  UBUNTU / STELLARMATE Depuis WINDOWS
===================================================================================
https://stackoverflow.com/questions/44919190/windows-equivalent-to-efibootmgr

Also, for all the commands an elevated command prompt should be used, i.e. run cmd.exe (not PowerShell!) with administrator rights!

If a Linux boot loader is already configured, the sequence can be changed with bcdedit /enum firmware should list it. 
Imporant is only the GUID of the boot loader object listed with the Linux boot loader, i.e. a string looking like {01234567-89AB-CDEF-0123-456789ABCDEF}, 
and replace {<GUID>} in the following examples with your actual GUID.

Any firmware boot loader can be set as the default EFI boot option with bcdedit /set {fwbootmgr} default {<GUID>}.

To set a EFI boot loader entry as the first boot item in the list, bcdedit /set {fwbootmgr} displayorder {<GUID>} /addfirst can be used.

C:\Users\Pollux>bcdedit

Gestionnaire de démarrage Windows
---------------------------------
identificateur          {bootmgr}
device                  partition=\Device\HarddiskVolume1
path                    \EFI\MICROSOFT\BOOT\BOOTMGFW.EFI
description             Windows Boot Manager
locale                  fr-FR
inherit                 {globalsettings}
default                 {current}
resumeobject            {b1575a45-d98b-11ed-be64-0039ced22322}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 30

Chargeur de démarrage Windows
-----------------------------
identificateur          {current}
device                  partition=C:
path                    \WINDOWS\system32\winload.efi
description             Windows 11
locale                  fr-FR
inherit                 {bootloadersettings}
recoverysequence        {0115bdcf-d986-11ed-a18d-afe458fdd33d}
displaymessageoverride  Recovery
recoveryenabled         No
isolatedcontext         Yes
allowedinmemorysettings 0x15000075
osdevice                partition=C:
systemroot              \WINDOWS
resumeobject            {b1575a45-d98b-11ed-be64-0039ced22322}
nx                      OptIn
bootmenupolicy          Standard
bootstatuspolicy        IgnoreAllFailures

C:\Users\Pollux>bcdedit /enum firmware

Gestionnaire de démarrage du microprogramme
-------------------------------------------
identificateur          {fwbootmgr}
displayorder            {bootmgr}
                        {9a040d99-ddd6-11ed-a197-806e6f6e6963}
                        {92727642-da03-11ed-8d07-806e6f6e6963}
                        {80ee2960-d98d-11ed-a18c-806e6f6e6963}
                        {80ee2961-d98d-11ed-a18c-806e6f6e6963}
                        {80ee2962-d98d-11ed-a18c-806e6f6e6963}
timeout                 2

Gestionnaire de démarrage Windows
---------------------------------
identificateur          {bootmgr}
device                  partition=\Device\HarddiskVolume1
path                    \EFI\MICROSOFT\BOOT\BOOTMGFW.EFI
description             Windows Boot Manager
locale                  fr-FR
inherit                 {globalsettings}
default                 {current}
resumeobject            {b1575a45-d98b-11ed-be64-0039ced22322}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 30

Application logicielle (101fffff)
--------------------------------
identificateur          {80ee2960-d98d-11ed-a18c-806e6f6e6963}
description             UEFI: Built-in EFI Shell

Application logicielle (101fffff)
--------------------------------
identificateur          {80ee2961-d98d-11ed-a18c-806e6f6e6963}
description             UEFI: PXE IPv4 Realtek PCIe GBE Family Controller

Application logicielle (101fffff)
--------------------------------
identificateur          {80ee2962-d98d-11ed-a18c-806e6f6e6963}
description             UEFI: PXE IPv6 Realtek PCIe GBE Family Controller

Application logicielle (101fffff)
--------------------------------
identificateur          {92727642-da03-11ed-8d07-806e6f6e6963} <====== UBUNTU
device                  partition=\Device\HarddiskVolume6
path                    \EFI\UBUNTU\SHIMX64.EFI
description             ubuntu

Application logicielle (101fffff)
--------------------------------
identificateur          {9a040d99-ddd6-11ed-a197-806e6f6e6963}
device                  partition=\Device\HarddiskVolume1
path                    \EFI\OEM\BOOT\BOOTMGFW.EFI
description             Windows Boot Manager

C:\Users\Pollux>bcdedit /set {fwbootmgr} displayorder {92727642-da03-11ed-8d07-806e6f6e6963} /addfirst
L’opération a réussi.
C:\Users\Pollux>bcdedit /enum firmware

Gestionnaire de démarrage du microprogramme
-------------------------------------------
identificateur          {fwbootmgr}
displayorder            {92727642-da03-11ed-8d07-806e6f6e6963}
                        {bootmgr}
                        {9a040d99-ddd6-11ed-a197-806e6f6e6963}
                        {80ee2960-d98d-11ed-a18c-806e6f6e6963}
                        {80ee2961-d98d-11ed-a18c-806e6f6e6963}
                        {80ee2962-d98d-11ed-a18c-806e6f6e6963}
timeout                 2

Gestionnaire de démarrage Windows
---------------------------------
identificateur          {bootmgr}
device                  partition=\Device\HarddiskVolume1
path                    \EFI\MICROSOFT\BOOT\BOOTMGFW.EFI
description             Windows Boot Manager
locale                  fr-FR
inherit                 {globalsettings}
default                 {current}
resumeobject            {b1575a45-d98b-11ed-be64-0039ced22322}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 30

Application logicielle (101fffff)
--------------------------------
identificateur          {80ee2960-d98d-11ed-a18c-806e6f6e6963}
description             UEFI: Built-in EFI Shell

Application logicielle (101fffff)
--------------------------------
identificateur          {80ee2961-d98d-11ed-a18c-806e6f6e6963}
description             UEFI: PXE IPv4 Realtek PCIe GBE Family Controller

Application logicielle (101fffff)
--------------------------------
identificateur          {80ee2962-d98d-11ed-a18c-806e6f6e6963}
description             UEFI: PXE IPv6 Realtek PCIe GBE Family Controller

Application logicielle (101fffff)
--------------------------------
identificateur          {92727642-da03-11ed-8d07-806e6f6e6963}
device                  partition=\Device\HarddiskVolume6
path                    \EFI\UBUNTU\SHIMX64.EFI
description             ubuntu

Application logicielle (101fffff)
--------------------------------
identificateur          {9a040d99-ddd6-11ed-a197-806e6f6e6963}
device                  partition=\Device\HarddiskVolume1
path                    \EFI\OEM\BOOT\BOOTMGFW.EFI
description             Windows Boot Manager

C:\Users\Pollux>